import fetch from '@/utils/request'

export function page(query) {
  return fetch({
    url: '/api/adminBiz/common/getDiscountList',
    method: 'post',
    params: query,
    dataType: 'json'
  })
}

export function getActivityObj() {
  return fetch({
    url: '/api/adminBiz/marActivities/all',
    method: 'get'
  })
}

export function getSceneObj() {
  return fetch({
    url: '/api/adminBiz/marScenes/all',
    method: 'get'
  })
}
